﻿document.writeln("<nav class=\"navbar navbar-default navbar-fixed-top\">");
document.writeln("");
document.writeln("        <div class=\"container\">");
document.writeln("            <!--小屏幕按钮logo-->");
document.writeln("            <div class=\"navbar-header\">");
document.writeln("                <button class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-collapse\">");
document.writeln("                    <span class=\"icon-bar\"></span>");
document.writeln("                    <span class=\"icon-bar\"></span>");
document.writeln("                    <span class=\"icon-bar\"></span>");
document.writeln("                </button>");
document.writeln("                <a class=\"navbar-brand\" href=\"#\">");
document.writeln("                    <img alt=\"Brand\" src=\"images/logo/Circle_logo.jpg\" width=\"250\" height=\"70\">");
document.writeln("                ");
document.writeln("");
document.writeln("                </a>");
document.writeln("            </div>");
document.writeln("");
document.writeln("            <!--导航-->");
document.writeln("");
document.writeln("            <div class=\"navbar-collapse collapse\">");
document.writeln("                <ul class=\"nav navbar-nav navbar-right\">");
document.writeln("  <li style=\"background:url(images/a_bg.jpg) no-repeat right center;\">");
document.writeln("                      <li ><a href=\"index_en.html\" onfocus=\"this.blur()\"><i class=\"iconfont text-primary \">&#xe607;</i>index</a></li>");
document.writeln("");
document.writeln("");
document.writeln("                    </li>");
document.writeln("                    <li>");
document.writeln("                        <a href=\"Company_Brife_en.html\" onfocus=\"this.blur()\"><i class=\"iconfont text-primary \">&#xe609;</i>Company</a>");
document.writeln("");
document.writeln("");
document.writeln("                    </li>");
document.writeln("                    <li>");
document.writeln("");
document.writeln("                        <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\"><i class=\"iconfont text-success\">&#xe605;</i>Products <span class=\"caret\"></span></a>");
document.writeln("                        <ul class=\"dropdown-menu\">");
document.writeln("                            <li><a href=\"Wh701_en.html\">WH-TH701 Full automatic capsule sorting machine</a></li>");
document.writeln("                            <li><a href=\"CenterCondition_en.html\"> Heat pump drive type  constant temperature and humidity of central air conditioning system </a></li>");
document.writeln("                            <li><a href=\"WH-SG40_en.html\">WH-SG40 high speed and high precision full automatic hard hollow capsule production line</a></li>");
document.writeln("                            <li role=\"separator\" class=\"divider\"></li>");
document.writeln("                            <li><a href=\"viscosity_en.html\">On-line viscosity controller</a></li>");
document.writeln("                            <li role=\"separator\" class=\"divider\"></li>");
document.writeln("                            <li><a href=\"mould_en.html\">Matching mould for high speed and high precision capsule production line</a></li>");
document.writeln("                        </ul>");
document.writeln("                    </li>");
document.writeln("                    <li ><a href=\"Project_en.html\" onfocus=\"this.blur()\"><i class=\"iconfont text-info\">&#xe617;</i>Project</a></li>");
document.writeln("                    <li ><a href=\"recruit_en.html\" onfocus=\"this.blur()\"><i class=\"iconfont text-danger\">&#xe61c;</i>Wanted</a></li>");
document.writeln("                    <li >");
document.writeln("                        <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\"><i class=\"iconfont text-success\">&#xe61b;</i>English<span class=\"caret\"></span></a>");
document.writeln("                        <ul class=\"dropdown-menu\">");
document.writeln("                            <li><a href=\"index.html\">中文</a></li>");
document.writeln("                            <li><a href=\"index_en.html\">English</a></li>");
document.writeln("                            ");
document.writeln("                        </ul>");
document.writeln("                    </li>");
document.writeln("                    <li ><a href=\"Contact_en.html\" onfocus=\"this.blur()\"><i class=\"iconfont text-danger\">&#xe618;</i>Contact</a></li>");
document.writeln("");
document.writeln("                </ul>");
document.writeln("            </div>");
document.writeln("        </div>");
document.writeln("    </nav>");

$(function () {
    ///*导航跳转效果插件*/
    //$('.nav').singlePageNav({
    //    offset: 70
    //});
    /*小屏幕导航点击关闭菜单*/
    $('.navbar-collapse a').click(function () {

        if (!($(this).hasClass("dropdown-toggle"))) { $('.navbar-collapse').collapse('hide'); }

    });


})